<h1>Editing identifier</h1>

<%= error_messages_for :identifier %>

<% form_for(:identifier, :url => identifier_path(@identifier), :html => { :method => :put }) do |f| %>
  <p>
    <b>Ark</b><br />
    <%= f.text_field :ark %>
  </p>

  <p>
    <b>Url</b><br />
    <%= f.text_field :url %>
  </p>

  <p>
    <b>Comment</b><br />
    <%= f.text_area :comment %>
  </p>

  <p>
    <b>Metadata</b><br />
    <%= f.text_area :metadata %>
  </p>

  <p>
    <b>Minter</b><br />
    <%= f.text_field :minter_id %>
  </p>

  <p>
    <b>Contract</b><br />
    <%= f.text_field :contract_id %>
  </p>

  <p>
    <b>User</b><br />
    <%= f.text_field :user_id %>
  </p>

  <p>
    <b>Created on</b><br />
    <%= f.datetime_select :created_on %>
  </p>

  <p>
    <b>Updated on</b><br />
    <%= f.datetime_select :updated_on %>
  </p>

  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', identifier_path(@identifier) %> |
<%= link_to 'Back', identifiers_path %>